
/**
 *	\file Definition of the NMN_UNUSED macro.
 *	\author Sean Tromans
 */

#ifndef	NMN_UNUSED_HPP
#define	NMN_UNUSED_HPP

#include <needs_more_ninja/preprocessor/force_semicolon.hpp>

/**
 *	Helper macro to remove "unreferenced formal parameter" warnings when needed.
 *	\note
 *		Should prefer to simply comment out the parameter. This is for those cases when the parameter is only unused under certain configs.
 *	\author Sean Tromans
 */
#define	NMN_UNUSED( x )	static_cast<void>( x )

#endif	//NMN_UNUSED_HPP
